package racing.rule;

/**
 * Enumeration for the RPS. (Rock, Paper, Scissors)
 * 
 * @author Sarathit Sangtaweep 5510546182
 * @author Veerapat Teeravipark 5510547022
 * @version 2013
 */
public enum RPS {
	ROCK(),PAPER(),SCISSORS(),DRAW();
	
	/**
	 * Get the string of the RPS.
	 * @param rps
	 * @return the string that describes the RPS.
	 */
	public String toString(RPS rps){
		if(rps == ROCK)return "Rock";
		else if(rps == PAPER)return "Paper";
		else return "Scissors";
	}
}
